package com.morehair.mapper;

import com.morehair.bean.pojo.Footprint;
import com.morehair.bean.pojo.FootprintExample;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface FootprintMapper {
    long countByExample(FootprintExample example);

    int deleteByExample(FootprintExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Footprint record);

    int insertSelective(Footprint record);

    List<Footprint> selectByExample(FootprintExample example);

    List<Footprint> selectByUserId(Integer userId);

    int fakeDeleteById(@Param("id") Integer id, @Param("updateTime") Date updateTime);

    Footprint selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Footprint record, @Param("example") FootprintExample example);

    int updateByExample(@Param("record") Footprint record, @Param("example") FootprintExample example);

    int updateByPrimaryKeySelective(Footprint record);

    int updateByPrimaryKey(Footprint record);
}